The statement put length(member “Test”) uses length to count the number of characters in the string.

The statement if member “Test” contains string then beep uses contains to check whether test contains the string you type in the field